<?php

	$message = EbController::$session->getFlashMessage('login');

	if (!is_null($message))
	{
		echo $message;
	}
?>

<table>
  <tr>
    <td>
    	<div>
		    <form name="loginform" id="loginform" action="Community/login.do" method="post">
				<input type="hidden" name="ref" value="<?php echo EbController::$request->getData('ref');?>" />
				<p>
					<label>Username:<br />
					<input type="text" name="login" id="user_login" class="input" size="20" /></label>
				</p>
				<p>
					<label>Password:<br />
					<input type="password" name="password" id="user_pass" class="input" value="" size="20" /></label>
				</p>
				<p>
					<input type="submit" value="Login" />
				</p>
			</form>
    	</div>
    </td>
    <td>
    	<div>
    		
    	</div>
    </td>
  </tr>
</table>